<%--
  Created by IntelliJ IDEA.
  User: 17355
  Date: 2019/6/25
  Time: 17:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%
    //禁止非法用户绕过登录入口直接访问后台主页,最佳实现方案：Servlet过滤器(Filter)  实现用户登录验证
    Object user = session.getAttribute("user");
    if (user == null) {
        response.sendRedirect("login02.jsp");
    }


%>
